

package com.kimo.shop.bean.event;

import com.kimo.shop.bean.app.dto.ProductItemDto;
import com.kimo.shop.bean.model.UserAddr;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 *  获取运费事件
 * @author kimo-taozhouchuan
 */
@Data
@AllArgsConstructor
public class CalculateTransfeeEvent {

    private ProductItemDto productItem;

    private UserAddr userAddr;

    private Double transfee;

    public CalculateTransfeeEvent(ProductItemDto productItem, UserAddr userAddr) {
        this.productItem = productItem;
        this.userAddr = userAddr;
    }
}
